package com.yunji.framework_template.orm.persistence.mapper;

import java.util.List;

import com.yunji.framework_template.common.web.Page;
import com.yunji.framework_template.orm.persistence.model.NewsSources;

public interface NewsSourcesMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(NewsSources record);

    int insertSelective(NewsSources record);

    NewsSources selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NewsSources record);

    int updateByPrimaryKey(NewsSources record);

    List<NewsSources> selectByCondition(NewsSources record);

    List<NewsSources> selectAll();

    List<NewsSources> selectByPage(Page page);

    Integer count(NewsSources record);

    int deleteByCondition(NewsSources record);
}
